<?
/*----------------------------------------------------------------------
          (C) Bobtail-Bear 2006 	小飞熊新一代下载系统
          	代码编写：小飞熊	版权所有：小飞熊[L.F.Bear]
				官方网站/技术支持：http://www.lfbear.cn
------------------------------------------------------------------------
          (C) Bobtail-Bear 2006 	L.F.Bear's New Download Sysytem
          	Powered by L.F.Bear  Copyright L.F.Bear's Home(R)
               Official Web/Support：http://www.lfbear.cn
-----------------------------------------------------------------------*/

//本页脚本功能：上传附件(参数配置部分)

require("../include/config.base.php");
require("../include/config.inc.php");
global $Config ;

//是否打开上传功能
$Config['Enabled'] = true ;

//上传路径配置，如果你不明白请不要更改，否则后果自负！
$nowurl=$_SERVER[PHP_SELF];
$arr_url=explode("/",$nowurl);
$arr_num=count($arr_url);
for($j=0;$j<$arr_num-2;$j++)
$url.=$arr_url[$j]."/";
$Config['UserFilesPath'] =$url.$path_upload."/" ;

//允许上传类型
$Config['AllowedExtensions']['File']	= array('exe','rar','zip','torrent','jpg','jpeg','gif','swf') ;

//禁止上传类型
$Config['DeniedExtensions']['File']		= array('php','php3','php5','html','shtml','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','dll','reg','cgi') ;
?>